overview
Messages and message processing functions are often closely related. For example,
#GetBorder and #SetBorder are messages programs send to grids to get and set their border,
borderUp , borderDown properties, and XuiGetBorder() and XuiSetBorder() are the standard
message processing functions provided to process these messages.
Programs call XuiSendMessage() to send messages to grids, as in:
XuiSendMessage (grid, #SetBorder, $$BorderRaise2, -1, -1, 0, kid, 0)
Grid functions can control themselves and their kids in the same way. But grid
functions can also call message processing functions directly to control their own
properties and behavior. A grid function might call XuiSetBorder() directly to control its
own border. For example, the MouseDown message processing subroutine in XuiPushButton
calls XuiGetBorder() and XuiSetBorder() directly to set the border property equal to the
borderDown property, something like the following:
...
XuiGetBorder (grid, #GetBorder, @border, @up, @down, 0, 0, 0)
XuiSetBorder (grid, #SetBorder, down, up, down, 0, 0, 0)
...
GraphicsDesigner and GuiDesigner messages - details
Callback | ( grid, message, v0, v1, v2, v3, @r0, r1 ) Grid functions call XuiCallback() directly to send a callback message. If a callback function exists for the grid , XuiCallback() calls the callback function and passes it the arguments, except that the original message argument is transferred to r1 and replaced by #Callback . XuiCallback() passes r0 reference so callback functions potentially can cancel operations by returning -1 in r0 . XuiCallback ( grid, message, v0, v1, v2, v3, @r0, r1 ) grid - grid sending callback message |
Create SUB Create |
( @grid, #Create, x, y, width, height, window, parent ) Call a grid function directly with a Create message to create one grid of its grid type. Grid functions return the grid number of the created grid, or 0 if the grid could not be created for some reason. Create messages must be processed in message processing subroutines within grid functions, so there are no standard message functions to handle Create messages. Programs can call XuiSendMessage() to send all other messages, but must call grid functions directly to send Create and CreateWindow : wrong: XuiSendMessage ( @grid, #Create, x, y, w, y, window, parent ) GridFunc (@grid, #Create, x, y, width, height, window, parent ) grid - grid number of grid created by grid function |
CreateWindow SUB CreateWindow |
( @grid, #CreateWindow, xDisp, yDisp, width, height, winType, display$ ) Call a grid function directly with a CreateWindow message to create one grid of their grid type in a window just big enough to contain the grid. Grid functions return the grid number of the created grid and window, or 0 if they could not be created for some reason. CreateWindow messages must be processed in message processing subroutines within grid functions, so no standard message functions are provided for CreateWindow . Programs can call XuiSendMessage() to send all other messages, but must call grid functions directly to send Create and CreateWindow : wrong: XuiSendMessage ( @grid, #CreateWindow, x, y, w, y, wt, 0 ) GridFunc ( @grid, #CreateWindow, xDisp, yDisp, width, height, winType, disp$ ) grid - grid number of grid created by grid function winType - window type bits OR parent window winType constant - meaning ( in xgr.DEC file : IMPORT
"xgr" ) |
Destroy | ( grid, #Destroy, 0, 0, 0, 0, kid, 0 ) Send Destroy to a grid to destroy it. If the grid is attached to a window, that is, it was created by CreateWindow , the window containing the grid is also destroyed and removed from the display. Do not send messages to grids after they are destroyed. Their grid numbers are reassigned to subsequently created grids, and the messages are erroneously sent to the new grids. XuiSendMessage ( grid, #Destroy, 0, 0, 0, 0, kid, 0 ) grid,kid - target grid |
Destroyed | ( grid, #Destroyed, 0, 0, 0, 0, kid, 0 ) When a user destroys a window manually, a WindowDestroyed message is sent to the window function assigned to the destroyed window. The window function sends a Destroyed message to every parentless grid in the destroyed window. Grids propogate Destroyed messages to their kids. XuiSendMessage ( grid, #Destroyed, 0, 0, 0, 0, kid, 0 ) grid,kid - target grid |
DestroyWindow | ( grid, #DestroyWindow, 0, 0, 0, 0, kid, 0 ) Send DestroyWindow to any grid in a window to destroy the window and all kids in the window. XuiSendMessage ( grid, #DestroyWindow, 0, 0, 0, 0, kid, 0 ) grid,kid - target grid (any grid in the window) |
Disable | ( grid, #Disable, 0, 0, 0, 0, kid, 0 ) Send Disable to a grid to have GraphicsDesigner stop sending keyboard and mouse messages to the grid. Grids propogate Disable messages to their kids. XuiSendMessage ( grid, #Disable, 0, 0, 0, 0, kid, 0 ) grid,kid - target grid |
DisplayWindow | ( grid, #DisplayWindow, 0, 0, 0, 0, kid, 0 ) Send DisplayWindow to any grid in a window to display the window. XuiSendMessage ( grid, #DisplayWindow, 0, 0, 0, 0, kid, 0 ) grid,kid - target grid (any grid in the window) |
Enable | ( grid, #Enable, 0, 0, 0, 0, kid, 0 ) Send Enable to a grid to have GraphicsDesigner resume sending keyboard and mouse messages to the grid. Grids propogate Enable messages to their kids. XuiSendMessage ( grid, #Enable, 0, 0, 0, 0, kid, 0 ) grid,kid - target grid |
GetBorder | ( grid, #GetBorder, @border, @borderUp, @borderDown, 0, kid, @width ) Send GetBorder to a grid to get its current border style, two alternate border styles, and border width of the current border style. XuiSendMessage ( grid, GetBorder, @border, @borderUp, @borderDown, 0, kid, @width ) grid,kid - target grid |
GetCallback | ( grid, #GetCallback, @callGrid, @callFunc, @v2, @v3, @r0, 0 ) Send GetCallback to a grid to get its callback information, which includes a callback grid, a callback function address, and callback indicies. XuiSendMessage ( grid, #GetCallback, @callGrid, @callFunc, @v2, @v3, @r0, 0 ) grid - target grid |
GetCallbackArgs | ( @g, #GetCallbackArgs, @v0, @v1, @v2, @v3, @r0, @r1 ) Call XuiCallback() directly with a GetCallbackArgs message to retreive the most recently sent callback arguments, some of which may have been replaced with values registered when the callback function was set. When a callback function is set, values can be registered to be sent in v2,v3,r0,r1 whenever the grid sends a callback message. When the grid calls XuiCallback() to send a callback message, any of the v2,v3,r0,r1 arguments that was not -1 in the SetCallback call is sent with the registered callback value. Calling XuiCallback() with a GetCallbackArgs message retreives the original v2,v3,r0,r1 the grid sent. XuiCallback ( @g, #GetCallbackArgs, @v0, @v1, @v2, @v3, @r0, @r1 ) #GetCallbackArgs - message: get original callback arguments |
GetColor | ( grid, #GetColor, @back, @draw, @low, @high, kid, 0 ) Send GetColor to a grid to get its background, drawing, highlight, and lowlight colors. XuiSendMessage ( grid, #GetColor, @back, @draw, @low, @high, kid, 0 ) grid,kid - target grid |
GetColorExtra | ( grid, #GetColorExtra, @dull, @accent, @loText, @hiText, kid, 0 ) Send GetColorExtra to a grid to get its dull, accent, lowtext, and hightext colors. XuiSendMessage ( grid, #GetColorExtra, @dull, @acc, @lt, @ht, kid, 0 ) grid,kid - target grid |
GetCursor | ( grid, #GetCursor, @cursor, 0, 0, 0, kid, 0 ) Send GetCursor to a grid to get the cursor number of the cursor that displays when the mouse cursor enters grid. grid,kid - target grid |
GetDisplay | ( grid, #GetDisplay, 0, 0, 0, 0, kid, @display$ ) Send GetDisplay to any grid in any window in a display to get the name of the display. The default display is an empty string "" . XuiSendMessage ( grid, #GetDisplay, 0, 0, 0, 0, kid, @display$ ) grid,kid - target grid |
GetEnclosedGrids | ( grid, #GetEnclosedGrids, 0, 0, 0, kid, @grid[] ) Send GetEnclosedGrids to a grid to get an array containing the grid numbers of all grids whose grid-boxes are completely contained within the grid. Coincident boundaries are considered enclosed. Some part of a grid must fall outside to be classified as not enclosed. grid,kid - target grid |
GetEnclosingGrid | ( grid, #GetEnclosingGrid, @enclosingGrid, 0, 0, 0, kid, 0 ) Send GetEnclosingGrid to a grid to get the grid number of the smallest grid that completely encloses the grid. Coincident boundaries are considered enclosed. In other words, if no part of a grid extends outside another, it is enclosed by that enclosing grid. grid,kid - target grid |
GetFont | ( grid, #GetFont, @size, @weight, @italic, @angle, kid, @font$ ) Send GetFont to a grid to get its font name and characteristics. XgrCreateFont() assigns a unique font number for each combination of typeface, size, weight, italic, and angle. grid,kid - target grid |
GetFont Number | ( grid, #GetFontNumber, @font, 0, 0, 0, kid, 0 ) Send GetFontNumber to a grid to get its font number. XgrCreateFont() assigns a unique font number for each combination of typeface, size, weight, italic, and angle. grid,kid - target grid |
GetGridFunction | ( grid, #GetGridFunction, @func, 0, 0, 0, kid, 0 ) Send GetGridFunction to a grid to get the addres of its grid function. XuiSendMessage ( grid, #GetGridFunction, @g, @func, 0, 0, kid, 0 ) grid,kid - target grid |
GetGridFunctionName | ( grid, #GetGridFunctionName, @func, 0, 0, 0, kid, func$ ) Send GetGridFunctionName to a grid to get the name of its grid function. The address of the grid function is also available. XuiSendMessage ( grid, #GetGridFunction, @func, 0, 0, 0, kid, func$ ) grid,kid - target grid |
GetGridName | ( grid, #GetGridName, @gridNumber, 0, 0, 0, kid, @gridName$ ) Send GetGridName to a grid to get its grid name. Default grid names are assigned to grids when they are created, and you should assign descriptive grid names during the design process. XuiSendMessage ( grid, #GetGridName, @gridNumber, 0, 0, 0, kid, @gridName$ ) grid,kid - target grid |
GetGridNumber | ( grid, #GetGridNumber, @g, @kid1, @kid2, @kid3, kid, @parent ) Send GetGridNumber to a grid to get its grid number. The grid numbers of its first three kids and its parent are also returned. XuiSendMessage ( grid, #GetGridNumber, @g, @kid1, @kid2, @kid3, kid, @parent ) grid,kid - target grid |
GetGridType | ( grid, #GetGridType, @gridType, 0, 0, 0, kid, 0 ) Send GetGridType to a grid to get its grid type. XuiSendMessage ( grid, #GetGridType, @gridType, 0, 0, 0, kid, 0 ) grid,kid - target grid |
GetGridTypeName | ( grid, #GetGridTypeName, @gridType, 0, 0, 0, kid, gridType$ ) Send GetGridTypeName to a grid to get the name of its grid function. The gridType number is also available. XuiSendMessage ( grid, #GetGridTypeName, @func, 0, 0, 0, kid, func$ ) grid,kid - target grid |
GetHelp | ( grid, #GetHelp, x, y, state, time, @kid, @help$ ) GetHelp is sent to a grid by the InstantHelp window when the user presses the right mouse button over the grid. GetHelp can also be send to a grid to achieve the same effect. The InstantHelp window sends the x,y,state,time arguments from the mouse event, so programs can send all zeros to distinguish itself from mouse events. XuiGetHelp() , the standard message processing function for the GetHelp message, does the following: Sends a Help callback message on behalf of the grid. grid,kid - target grid |
GetHelpFile | ( grid, #GetHelpFile, 0, 0, 0, 0, kid, @helpfile$ ) grid,kid - target grid
(any valid grid) |
GetHelpString | ( grid, #GetHelpString, 0, 0, 0, 0, kid, @help$ ) Send GetHelpString to a grid to get its current help string. This can be an empty string, "filename:entryname", ":entryname", or the help text itself. Also see the GetHelp message. XuiSendMessage ( grid, #GetHelpString, 0, 0, 0, 0, kid, @help$ ) grid,kid - target grid |
GetHelpStrings | ( grid, #GetHelpStrings, 0, 0, 0, 0, kid, @help$[] ) Send GetHelpStrings to a grid to get its help string and the help strings from all its kids. Each help string can be an empty string, "filename:entryname", ":entryname", or the help text itself. XuiSendMessage ( grid, #GetHelpStrings, 0, 0, 0, 0, kid, @help$[] ) grid,kid - target grid |
GetImage | ( grid, #GetImage, @image, 0, @indentX, @indentY, kid, 0 ) Send GetImage to a grid to get the grid number of the image grid assigned to the grid, as well as the indent from the left and top of the grid that the image should be drawn. Not all grids display images. XuiSendMessage ( grid, #GetImage, @image, 0, @indentX, @indentY, kid, 0 ) grid,kid - target grid |
GetImageCoords | ( grid, #GetImageCoords, @offsetX, @offsetY, @width, @height, kid, 0 ) Send GetImageCoords to a grid to get the coordinates of the portion of the image grid that are to drawn into the grid. These are 0,0 relative coordinates in the image, so they determine what portion of the image is drawn in the grid, not where the image is drawn in the grid. See indentX,indentY in GetImage . XuiSendMessage ( grid, #GetImageCoords, @offsetX, @offsetY, @width, @height, kid, 0 ) grid,kid - target grid |
GetJustify | ( grid, #GetJustify, @justify, @align, @inL, @inT, kid, bw ) Send GetJustify to a grid to get its text justify, align, indentLeft, indentTop properties, and its border width. XuiSendMessage ( grid, #GetJustify, @justify, @align, @inL, @inT, kid, @bw ) grid,kid - target grid |
GetKeyboardFocus | ( grid, #GetKeyboardFocus, @focusGrid, 0, 0, 0, kid, 0 ) Send GetKeyboardFocus to any grid to get the grid that currently has keyboard focus. The grid with keyboard focus may not be in the same window. XuiSendMessage ( grid, #GetKeyboardFocus, @focusGrid, 0, 0, 0, kid, 0 ) grid,kid - target grid |
GetKeyboardFocusGrid | ( grid, #GetKeyboardFocusGrid, @focusGrid, 0, 0, 0, kid, 0 ) Send GetKeyboardFocusGrid to any grid in a window to get the grid number of the grid that will get keyboard focus the next time the window is selected. If the window is currently selected, focusGrid currently has keyboard focus. XuiSendMessage ( grid, #GetKeyboardFocusGrid, @focusGrid, 0, 0, 0, kid, 0 ) grid,kid - target grid |
GetKidArray | ( grid, #GetKidArray, 0, 0, 0, 0, kid, @kid[] ) Send GetKidArray to a grid to get an array containing the grid numbers of the grid kids. kid[0] is the grid number of the grid. XuiSendMessage ( grid, GetKidArray, 0, 0, 0, 0, kid, @kid[] ) grid,kid - target grid |
GetKids | ( grid, #GetKids, @g, @k1, @k2, @k3, kid, @k4 ) Send GetKids to a grid to get an array containing the grid number of the grid and its kids. g is the grid number of the target grid. XuiSendMessage ( grid, GetKids, @g, @k1, @k2, @k3, kid, @k4 ) grid,kid - target grid |
GetMaxMinSize | ( grid, #GetMaxMinSize, @maxW, @maxH, @minW, @minH, kid, 0 ) Send GetMaxMinSize to a grid to get is maximum and minimum width,height under any circumstances. See GetSmallestSize . XuiSendMessage ( grid, #GetMaxMinSize, @maxW, @maxH, @minW, @minH, kid, 0 ) grid,kid - target grid |
GetMessageFunc | ( grid, #GetMessageFunc, message, @func, 0, 0, kid, 0 ) Send GetMessageFunc to a grid to get the address of the function that handles message number message . XuiSendMessage ( grid, #GetMessageFunc, message, @func, 0, 0, kid, 0 ) grid,kid - target grid |
GetMessageFuncArray | ( grid, #GetMessageFuncArray, 0, 0, 0, 0, kid, @func[] ) Send GetMessageFuncArray to a grid to get the addresses of the functions that process messages for the grid. XuiSendMessage ( grid, #GetMessageFuncArry, 0,0,0,0, kid, @func[] ) grid,kid - target grid |
GetMessageSub | ( grid, #GetMessageSub, message, @sub, 0, 0, kid, 0 ) grid,kid - target
grid |
GetMessageSubArray | ( grid, #GetMessageSubArray, 0, 0, 0, 0, kid, @sub[] ) grid,kid - target
grid |
GetModalInfo | ( grid, #GetModalInfo, @v0, @v1, @v2, @v3, kid, @r1 ) grid,kid - target
grid |
GetParent | ( grid, #GetParent, @parent, 0, 0, 0, kid, 0 ) Send GetParent to a grid to get its grid number and the grid number of its parent grid. XuiSendMessage ( grid, #GetParent, @parent, 0, 0, 0, kid, 0 ) grid,kid - target grid |
GetSize | ( grid, #GetSize, @x, @y, @width, @height, kid, 0 ) Send GetSize to a grid to get the position of its upper-left corner in window coordinates, and its size in pixels. XuiSendMessage ( grid, #GetSize, @x, @y, @width, @height, kid, 0 ) grid,kid - target grid |
GetSmallestSize | ( grid, #GetSmallestSize, 0, 0, @width, @height, kid, 0 ) Send GetSmallestSize to a grid to get the smallest size it can be resized to and still reasonably contain its contents. Not every grid type supports this message, so routines should be prepared to have the width,height arguments returned unchanged, or possibly with the current grid size returned by GetSize , or possibly filled with the grid minimums returned by GetMaxMinSize . XuiSendMessage ( grid, #GetSmallestSize, 0, 0, @width, @height, kid, 0 ) grid,kid - target grid |
GetState | ( grid, #GetState, @state, @keyboard, @mouse, @redraw, kid, 0 ) Send GetState to a grid to get its master disabled/enabled state, as well as disabled/enabled states for keyboard messages, mouse messages, and redraw messages. See the Disable and Enable messages for related information. XuiSendMessage ( grid, #GetState, @state, @keyboard, @mouse, @redraw, kid, 0 ) grid,kid - target grid |
GetStateFlags | ( grid, #GetStateFlags, @state, @key, @mouse, @redraw, kid, @enable ) grid,kid
- target grid |
GetStyle | ( grid, #GetStyle, @style, styleMax, 0, 0, kid, 0 ) grid,kid - target
grid |
GetTextArray | ( grid, #GetTextArray, 0, 0, 0, 0, kid, @text$[] ) Send GetTextArray to a grid to get its text array. XuiSendMessage ( grid, #GetTextArray, 0, 0, 0, 0, kid, @text$[] ) grid,kid - target grid |
GetTextArrayLine | ( grid, #GetTextArrayLine, line, 0, 0, @upper, kid, @text$ ) Send GetTextArrayLine to a grid to get one text string from its text array. The lower bound of the text array is 0. XuiSendMessage ( grid, #GetTextArrayLine, line, 0, 0, @upper, kid, @text$ ) grid,kid - target grid |
GetTextArrayLines | ( grid, #GetTextArrayLines, first, count, 0, @upper, kid, @text$[] ) Send GetTextArrayLines to a grid to get consecutive lines from its text array. The lower bound of the text array is 0. XuiSendMessage ( grid, #GetTextArrayLines, first, count, 0, @upper, kid, @text$[] ) grid,kid - target grid |
GetTextString | ( grid, #GetTextString, 0, 0, 0, 0, kid, @text$ ) Send GetTextString to a grid to get its text string. XuiSendMessage ( grid, #GetTextString, 0, 0, 0, 0, kid, @text$ ) grid,kid - target grid |
GetTextStrings | ( grid, #GetTextStrings, 0, 0, 0, 0, kid, @text$[] ) Send GetTextStrings to a grid to get the text strings from the grid and its kids. XuiSendMessage ( grid, #GetTextStrings, 0, 0, 0, 0, kid, @text$[] ) grid,kid - target grid |
GetTexture | ( grid, #GetTexture, @texture, 0, 0, 0, kid, 0 ) grid,kid - target grid
|
GetValueArray | ( grid, #GetValueArray, 0, 0, 0, 0, kid, @value[] ) grid,kid - target
grid |
GetValue | ( grid, #GetValue, @v0, 0, 0, 0, kid, index ) grid,kid - target grid |
GetValues | ( grid, #GetValues, @v0, @v1, @v2, @v3, kid, index ) Send GetValues to a grid to get four elements from its XLONG value[] array starting at value[r1] . XuiSendMessage ( grid, GetValues, @v0, @v1, @v2, @v3, kid, @v4) grid,kid - target grid |
GetWindow | ( grid, #GetWindow, @window, @winType, @func, @windowGrid, kid, @focusGrid ) Send GetWindow to a grid to get the window number of the window containing it. The windowType, windowFunction, windowGrid, and keyboardFocusGrid are also returned. XuiSendMessage ( grid, #GetWindow, @window, @winType, @func, @windowGrid, kid, @focusGrid ) grid,kid - target grid |
GetWindowFunction | ( grid, #GetWindowFunction, @func, 0, 0, 0, kid, 0 ) Send GetWindowFunction to a grid to get the window function of the window that contains the grid. XuiSendMessage ( grid, #GetWindowFunction, @func, 0, 0, 0, kid, 0 ) grid,kid - target grid |
GetWindowGrid | ( grid, #GetWindowGrid, @windowGrid, 0, 0, 0, kid, 0 ) Send GetWindowGrid to a grid to get the window grid assigned to the window that contains grid. A window grid is a grid attached to a window so that the window resizes if the grid is resized. Grid functions establish this connection when their CreateWindow subroutines send RegisterGrid messages to XuiWindow() . XuiSendMessage ( grid, #GetWindowGrid, @windowGrid, 0, 0, 0, kid, 0 ) grid,kid - target grid |
GetWindowIcon | ( grid, #GetWindowIcon, @icon, 0, @indentX, @indentY, kid, 0 ) Send GetWindowIcon to a grid to get the icon number of the icon assigned to the window that contains the grid. XuiSendMessage ( grid, #GetWindowIcon, @icon, 0, 0, 0, kid, 0 ) grid,kid - target grid |
GetWindowSize | ( grid, #GetWindowSize, @xDisp, @yDisp, @width, @height, kid, 0 ) Send GetWindowSize to a grid to get the position and size of the window that contains the grid. XuiSendMessage ( grid, #GetWindowSize, @xDisp, @yDisp, @width, @height, kid, 0, ) grid,kid - target grid |
GetWindowTitle | ( grid, #GetWindowTitle, @window, 0, 0, 0, kid, @title$ ) Send GetWindowTitle to a grid to get the title string displayed on the window containing the grid. XuiSendMessage ( grid, #GetWindowTitle, @window, 0, 0, 0, kid, @title$ ) grid,kid - target grid |
GotKeyboardFocus | ( grid, #GotKeyboardFocus, 0, 0, 0, 0, kid, 0 ) GotKeyboardFocus is sent to a grid by its window function when the grid is given keyboard focus, which means subsequent keyboard messages will be sent to the grid. Text grids normally display their text cursor when they receive GotKeyboardFocus and erase it when they receive LostKeyboardFocus . XuiSendMessage ( grid, #GotKeyboardFocus, 0, 0, 0, 0, kid, 0 ) grid,kid - target grid |
GrabTextArray | ( grid, #GrabTextArray, 0, 0, 0, 0, kid, @text$[] ) Send GrabTextArray to a grid to grab its text array. Unlike GetTextArray , the original text array is returned, so the grid is left with an empty text array until it is reinstated or replaced by SetTextArray or PokeTextArray . GrabTextArray is provided for cases where a TextArea grid contains a large amount of text and the overhead of copying the entire text array with GetTextArray involves excessive overhead. XuiSendMessage ( grid, #GrabTextArray, 0, 0, 0, 0, kid, @text$[] ) grid,kid - target grid |
GrabValueArray | ( grid, #GrabValueArray, 0, 0, 0, 0, kid, @array[] ) Send GrabValueArray to a grid to grab its values[] array. The original array is returned, so the grid is left with an empty value[] array until it is replaced by PokeValueArray . GrabValueArray is provided for cases where a grid contains more data than is conveniently accessible with GetValues . XuiSendMessage ( grid, #GrabValueArray, 0, 0, 0, 0, kid, @array[] ) grid,kid - target grid |
Help | ( grid, #Help, x, y, state, time, @r0, 0 ) The Help message is sent to callback functions by XuiGetHelp() in response to GetHelp messages. Normally callback functions ignore Help messages and let the automatic help system function normally. If a callback function wants to suppress help, it can set r0 to -1 and return. If a callback function wants to provide special purpose help, it can send SetHelp and a help string to XuiHelp() for display in the HelpWindow, then set r0=-1 to suppress the normal help response (which would overwrite the custom help). The most common use of special purpose help is to provide more selective help information. If the help request originated in a TextArea grid, for example, a program could learn from the MouseDown coordinates in the x,y arguments what word the user clicked on, and provide special help for that word. XuiSendMessage ( grid, #Help, x, y, state, time, @r0, 0 ) grid - target grid |
HideWindow | ( grid, #HideWindow, 0, 0, 0, 0, kid, 0 ) Send HideWindow to a grid to remove the window that contains the grid from the display. XuiSendMessage ( grid, #HideWindow, 0, 0, 0, 0, kid, 0 ) grid,kid - target grid |
KeyDown | ( grid, #KeyDown, x, y, state, time, kid, 0 ) KeyDown is sent to a grid by a window function when it receives a WindowKeyDown message and the grid has keyboard focus. The arguments tell the position of the mouse cursor at the time the key down event was detected, the key that was depressed, other keyboard status information, and the system millisecond time that the key event was detected. Most programs respond to KeyDown and ignore KeyUp messages. XuiSendMessage ( grid, #KeyDown, x, y, state, time, kid, 0 ) grid,kid - target grid |
KeyUp | ( grid, KeyUp, x, y, state, time, kid, 0 ) KeyUp is sent to a grid by a window function when it receives a WindowKeyUp message and the grid has keyboard focus. The arguments tell the position of the mouse cursor at the time the key up event was detected, the key that was released, other keyboard status information, and the system millisecond time that the key up event was detected. Most programs respond to KeyDown and ignore KeyUp. XuiSendMessage ( grid, #KeyUp, x, y, state, time, kid, 0 ) grid,kid - target grid |
LostKeyboardFocus | ( grid, #LostKeyboardFocus, 0, 0, 0, 0, kid, 0 ) LostKeyboardFocus is sent to a grid by window functions when the keyboard focus is taken from the grid and assigned to another. Subsequent keyboard messages will be sent to the new grid. Text grids normally display their text cursor when they receive a GotKeyboardFocus message, and erase it when they receive a LostKeyboardFocus message. XuiSendMessage ( grid, #LostKeyboardFocus, 0, 0, 0, 0, kid, 0 ) grid,kid - target grid |
MaximizeWindow | ( grid, #MaximizeWindow, 0, 0, 0, 0, kid, 0 ) Send MaximizeWindow to a grid to display the window that contains the grid as large as possible up to the size of the display. XuiSendMessage ( grid, #MaximizeWindow, 0, 0, 0, 0, kid, 0 ) grid,kid - target grid |
MinimizeWindow | ( grid, #MinimizeWindow, 0, 0, 0, 0, kid, 0 ) Send MinimizeWindow to a grid to remove the window that contains the grid from the display, and replace it with a small icon that can be double-clicked to restore the window. XuiSendMessage ( grid, #MinimizeWindow, 0, 0, 0, 0, kid, 0 ) grid,kid - target grid |
MonitorContext | ( grid, #MonitorContext, callGrid, callFunc, 0, 0, kid, 0 ) grid,kid - target
grid |
MonitorKeyboard | ( grid, #MonitorKeyboard, callGrid, callFunc, 0, 0, kid, 0 ) grid,kid -
target grid |
MonitorMouse | ( grid, #MonitorMouse, callGrid, callFunc, 0, 0, kid, 0 ) grid,kid - target
grid |
MouseDown | ( grid, #MouseDown, x, y, state, time, kid, 0 ) MouseDown is sent to a grid when one of the mouse buttons is depressed. The window coordinates of the mouse cursor, the state of the mouse buttons, and the millisecond system time are provided. XuiSendMessage ( grid, #MouseDown, x, y, state, time, kid, 0 ) grid,kid - target grid |
MouseDrag | ( grid, #MouseDrag, x, y, state, time, kid, 0 ) MouseDrag is sent to a grid when the mouse moves while one or more mouse buttons is down. The window coordinates of the mouse cursor, the state of the mouse buttons, and the millisecond system time are provided. XuiSendMessage ( grid, #MouseDrag, x, y, state, time, kid, 0 ) grid,kid - target grid |
MouseEnter | ( grid, #MouseEnter, x, y, state, time, kid, 0 ) MouseEnter is sent to a grid when the mouse cursor enters the grid, (after MouseExit is sent to the grid it left, if any). XuiSendMessage ( grid, #MouseEnter, x, y, state, time, kid, 0 ) grid,kid - target grid |
MouseExit | ( grid, #MouseExit, x, y, state, time, kid, 0 ) MouseExit is sent to a grid when the mouse cursor leaves the grid, before a MouseEnter is sent to the grid it enters, if any. XuiSendMessage ( grid, #MouseExit, x, y, state, time, kid, 0 ) grid,kid - target grid |
MouseMove | ( grid, #MouseMove, x, y, state, time, kid, 0 ) MouseMove is sent to a grid when the mouse cursor moves from its last reported position. If any mouse buttons are down, MouseDrag is sent instead of MouseMove . XuiSendMessage ( grid, #MouseMove, x, y, state, time, kid, 0 ) grid,kid - target grid |
MouseUp | ( grid, #MouseUp, x, y, state, time, kid, 0 ) MouseUp is sent to a grid when a mouse button is released while the mouse cursor is within grid. XuiSendMessage ( grid, #MouseUp, x, y, state, time, kid, 0 ) grid,kid - target grid |
PokeTextArray | ( grid, #PokeTextArray, 0, 0, 0, 0, kid, @text$[] ) Send PokeTextArray to a grid to set its text array without changing the values of its text cursor. XuiSendMessage ( grid, #PokeTextArray, 0, 0, 0, 0, kid, @text$[] ) grid,kid - target grid |
PokeValueArray | ( grid, #PokeValueArray, 0, 0, 0, 0, kid, @array[] ) Send PokeValueArray to install its value[] array. The original array is installed in the grid, so an empty value[] array is returned. PokeValueArray is provided for cases where a grid contains more data than is accessible with SetValues . XuiSendMessage ( grid, #PokeValueArray, 0, 0, 0, 0, kid, @array[] ) grid,kid - target grid |
Redraw | ( grid, #Redraw, x, y, width, height, kid, 0 ) Send Redraw to a grid to make it redraw itself and its kids. Grids first redraw themselves, then send redraw messages to their kids. If the redraw is in response to a WindowExpose message, the window coordinates of the rectangle that was exposed is supplied. Grids can return without redrawing themselves if they do not extend into the area delimited by x,y,width,height . width or height <= 0 means redraw is required. XuiSendMessage ( grid, #Redraw, x, y, width, height, kid, 0 ) grid,kid - target grid |
RedrawGrid | ( grid, #RedrawGrid, x, y, width, height, kid, 0 ) Send RedrawGrid to a grid to make it redraw itself, but not its kids. If the redraw is in response to a WindowExpose message, the window coordinates of the rectangle that was exposed is supplied. Grids can return without redrawing themselves if they do not extend into the area delimited by x,y,width,height . width <= 0 or height <= 0 means redraw is required. XuiSendMessage ( grid, #Redraw, x, y, width, height, kid, 0 ) grid,kid - target grid |
RedrawWindow | ( grid, #RedrawWindow, xWin, yWin, width, height, kid, 0 ) Send RedrawWindow to a grid to redraw all or part of the window that contains the grid. A Redraw message with the xWin,yWin,width,height arguments is sent to every parentless grid in the window. To force the entire window to be redrawn, set width or height to 0 . XuiSendMessage ( grid, #RedrawWindow, xWin, yWin, width, height, kid, 0 ) grid,kid - target grid |
Resize | ( grid, #Resize, x, y, width, height, kid, 0 ) Send Resize to a grid to change its position and/or size in its window. Most grids comply to reasonable resize requests, but some grids do not resize, or do not resize below or above certain limits. Therefore it may be necessary to check the size of a grid after a resize request. XuiSendMessage ( grid, #Resize, x, y, width, height, kid, 0 ) grid,kid - target grid |
ResizeNot | ( grid, #Resize, x, y, width, height, kid, 0 ) grid,kid - target grid |
ResizeWindow | ( grid, #ResizeWindow, xDisp, yDisp, width, height, kid, 0 ) Send ResizeWindow to a grid to reposition and/or resize the window that contains the grid. XuiSendMessage ( grid, #ResizeWindow, xDisp, yDisp, width, height, kid, 0 ) grid,kid - target grid |
ResizeWindowToGrid | ( grid, #ResizeWindowToGrid, 0, 0, 0, 0, kid, 0 ) grid,kid - target
grid |
SelectWindow | ( grid, #SelectWindow, 0, 0, 0, 0, kid, 0 ) Send SelectWindow to any grid in a window to select the window. The window is displayed and given keyboard focus. XuiSendMessage ( grid, #SelectWindow, 0, 0, 0, 0, kid, 0 ) grid,kid - target grid |
Selection | ( grid, #Selection, 0, 0, 0, 0, kid, 0 ) grid,kid - target grid |
SetBorder | ( grid, #SetBorder, border, borderUp, borderDown, 0, kid, 0 ) Send SetBorder to a grid to set its current border style, borderUp style, and/or borderDown style. Send -1 in any argument to leave the current value unchanged. XuiSendMessage ( grid, #SetBorder, border, borderUp, borderDown, 0, kid, 0 ) grid,kid - target grid |
SetCallback | ( grid, #SetCallback, callGrid, callFunc, v2, v3, r0, r1 ) Send SetCallback to a grid to set its callback information, which includes a callback grid, callback function, and callback indices. To cancel a callback, send 0 in callGrid and callFunc . Whenever the grid sends a callback message, the function whose address is callFunc is called and passed arguments callGrid,#Callback,v0,v1,v2,v3,r0,message . message,v0,v1 are values from the original callback message, and callGrid is from the SetCallback call. v2,v3,r0 are values from the original callback message if v2,v3,r0 in the SetCallback message were -1 . Arguments that were not -1 contain their SetCallback value. Functions called with callback messages can get the original callback message arguments by calling XuiCallback() directly with a GetCallbackArgs message. XuiSendMessage ( grid, #SetCallback, callGrid, callFunc, v2, v3, r0, r1 ) grid - target grid |
SetColor | ( grid, #SetColor, back, draw, low, high, kid, 0 ) Send SetColor to a grid to set its background, drawing, highlight, and/or lowlight colors. Send -1 in any argument to leave the current value unchanged. XuiSendMessage ( grid, #SetColor, back, draw, low, high, kid, 0 ) grid,kid - target grid |
SetColorExtra | ( grid, #SetColorExtra, dull, accent, lowText, highText, 0, kid, 0 ) Send SetColorExtra to a grid to set its dull, accent, lowText, and highText colors. Send -1 in any argument to leave the current value unchanged. XuiSendMessage ( grid, #SetColorExtra, dull, accent, lowText, highText, kid, 0 ) grid,kid - target grid |
SetCursor | ( grid, #SetCursor, cursor, 0, 0, 0, kid, 0 ) grid,kid - target grid |
SetFont | ( grid, #SetFont, size, weight, italic, angle, kid, @typeface$ ) grid,kid -
target grid |
SetFontNumber | ( grid, #SetFontNumber, font, 0, 0, 0, kid, 0 ) grid,kid - target grid |
SetGridFunction | ( grid, #SetGridFunction, func, 0, 0, 0, kid, 0 ) Send SetGridFunction to a grid to set the address of its grid function. XuiSendMessage ( grid, #SetGridFunction, func, 0, 0, 0, kid, 0 ) grid,kid - target grid |
SetGridFunctionName | ( grid, #SetGridFunctionName, 0, 0, 0, 0, kid, @name$ ) grid,kid - target
grid |
SetGridName | ( grid, #SetGridName, 0, 0, 0, 0, kid, @gridName$ ) Send SetGridName to a grid to set its grid name. If you never assign a name to a grid, a default name based on the grid type and grid number is assigned. XuiSendMessage ( grid, #SetGridName, 0, 0, 0, 0, kid, @gridName$ ) grid,kid - target grid |
SetGridType | ( grid, #SetGridType, gridType, 0, 0, 0, kid, 0 ) Send SetGridType to a grid to set its grid type. XuiSendMessage ( grid, #SetGridType, @g, gridType, 0, 0, kid, 0 ) grid,kid - target grid |
SetGridTypeName | ( grid, #SetGridTypeName, 0, 0, 0, 0, kid, @name$ ) grid,kid - target
grid |
SetHelp | ( grid, #SetHelp, 0, 0, 0, 0, kid, help$ ) grid,kid - target grid |
SetHelpFile | ( grid, #SetHelpFile, 0, 0, 0, 0, kid, filename$ ) grid,kid - target grid
(any valid grid) |
SetHelpString | ( grid, #SetHelpString, wild, 0, 0, 0, kid, @help$ ) Send SetHelpString to a grid to set its current help string. This can be an empty string, "filename:entryname", ":entryname", or help text. XuiSendMessage ( grid, #SetHelpString, wild, 0, 0, 0, kid, @help$ ) grid,kid - target grid |
SetHelpStrings | ( grid, #SetHelpStrings, 0, 0, 0, 0, kid, @help$[] ) Send SetHelpStrings to a grid to set its help string and the help strings of all its kids. Each help string can be an empty string, "filename:entryname", ":entryname", or the help text itself. XuiSendMessage ( grid, #SetHelpStrings, 0, 0, 0, 0, kid, @help$[] ) grid,kid - target grid |
SetImage | ( grid, #SetImage, image, align, inX, inY, kid, image$ ) grid,kid - target
grid |
SetImageCoords | ( grid, #SetImageCoords, offsetX, offsetY, width, height, kid, 0 ) grid,kid -
target grid |
SetJustify | ( grid, #SetJustify, justX, justY, inX, inY, kid, 0 ) Send SetJustify to a grid to set its x and y text justify numbers, and/or its x and y text indent. Send -1 in any argument to leave the current value unchanged. XuiSendMessage ( grid, #SetJustify, justX, justY, inX, inY, kid, 0 ) grid,kid - target grid justX,justY = 0 - left,top justify |
SetKeyboardFocus | ( grid, #SetKeyboardFocus, focusGrid, 0, 0, 0, kid, 0 ) grid,kid - target
grid |
SetKeyboardFocusGrid | ( grid, #SetKeyboardFocusGrid, focusGrid, 0, 0, 0, kid, 0 ) grid,kid - target
grid |
SetMaxMinSize | ( grid, #SetMaxMinSize, maxW, maxH, minW, minH, kid, 0 ) Send SetMaxMinSize to a grid to set is maximum and minimum width,height under any circumstances. -1 in any min/max argument means don't change the current value. XuiSendMessage ( grid, #SetMaxMinSize, maxW, maxH, minW, minH, kid, 0 ) grid,kid - target grid |
SetMessageFunc | ( grid, #SetMessageFunc, msg, func, 0, 0, kid, 0 ) Send SetMessageFunc to a grid to set the address of the function that processes message number msg . XuiSendMessage ( grid, #SetMessageFunc, msg, func, 0, 0, kid, 0 ) grid,kid - target grid |
SetMessageFuncArray | ( grid, #SetMessageFuncArray, 0, 0, 0, 0, kid, @func[] ) Send SetMessageFuncArray to a grid to set the addresses of the functions that process messages for the grid. XuiSendMessage ( grid, #SetMessageFuncs, 0, 0, 0, 0, kid, @func[] ) grid,kid - target grid |
SetPosition | ( grid, #SetPosition, zero, low, high, highest, kid, 0 ) grid,kid - target
grid |
SetSize | ( grid, #SetSize, x, y, width, height, kid, 0 ) Send SetSize to a grid to set the position of its upper-left corner in window coordinates, and its size in pixels. XuiSendMessage ( grid, #SetSize, x, y, width, height, kid, 0 ) grid,kid - target grid |
SetState | ( grid, #SetState, state, keyboard, mouse, redraw, kid, 0 ) Send SetState to a grid to set its master, keyboard, mouse, and redraw disabled/enabled states. See the Disable and Enable messages for related information. XuiSendMessage ( grid, #SetState, state, keyboard, mouse, redraw, kid, 0 ) grid,kid - target grid |
SetStateFlags | ( grid, #SetStateFlags, state, keyboard, mouse, redraw, kid, 0 ) Send SetStateFlags to a grid to set its master, keyboard, mouse, and redraw disabled/enabled state flags. XuiSendMessage ( grid, #SetState, state, keyboard, mouse, redraw, kid, 0 ) grid,kid - target grid |
SetStyle | ( grid, #SetStyle, style, styleMax, 0, 0, kid, 0 ) grid,kid - target
grid |
SetTextArray | ( grid, #SetTextArray, 0, 0, 0, 0, kid, @text$[] ) Send SetTextArray to a grid to set its text array. XuiSendMessage ( grid, #SetTextArray, 0, 0, 0, 0, kid, @text$[] ) grid,kid - target grid |
SetTextArrayLine | ( grid, #SetTextArrayLine, line, 0, 0, @upper, kid, @text$ ) Send SetTextArrayLine to a grid to get one text string from its text array. The lower bound of the text array is 0. XuiSendMessage ( grid, #SetTextArrayLine, line, 0, 0, @upper, kid, @text$ ) grid,kid - target grid |
SetTextString | ( grid, #SetTextString, 0, 0, 0, 0, kid, @text$ ) Send SetTextString to a grid to set its text string. XuiSendMessage ( grid, #SetTextString, 0, 0, 0, 0, kid, @text$ ) grid,kid - target grid |
SetTextStrings | ( grid, #SetTextStrings, 0, 0, 0, 0, kid, @text$[] ) Send SetTextStrings to a grid to set text strings for the grid and its kids. If the last element in text$[] is reached before the last kid, the text strings in the rest of the kids are not changed. XuiSendMessage ( grid, #SetTextStrings, 0, 0, 0, 0, kid, @text$[] ) grid,kid - target grid |
SetTexture | ( grid, #SetTexture, texture, 0, 0, 0, kid, 0 ) grid,kid - target grid |
SetValue | ( grid, #SetValue, v0, v1, v2, v3, kid, r1 ) Send SetValue to a grid to set the value of value[r1] . XuiSendMessage ( grid, #SetValue, v0, 0, 0, 0, kid, r1 ) grid,kid - target grid |
SetValues | ( grid, #SetValues, v0, v1, v2, v3, kid, r1 ) Send SetValues to a grid to set the values of up to four elements in its XLONG value[] array starting with value[r1] . XuiSendMessage ( grid, #SetValues, v0, v1, v2, v3, kid, r1 ) grid,kid - target grid |
SetValueArray | ( grid, #SetValueArray, 0, 0, 0, 0, kid, @value[] ) grid,kid - target
grid |
SetWindowFunction | ( grid, #SetWindowFunction, func, 0, 0, 0, kid, 0 ) Send SetWindowFunction to a grid to set the address of the window function of the window that contains the grid. XuiSendMessage ( grid, #SetWindowFunction, func, 0, 0, 0, kid, 0 ) grid,kid - target grid |
SetWindowIcon | ( grid, #SetWindowIcon, icon, 0, 0, 0, kid, @icon$ ) grid,kid - target
grid |
SetWindowTitle | ( grid, #SetWindowTitle, @window, 0, 0, 0, kid, @title$ ) Send SetWindowTitle to a grid to set the title string displayed on the window that contains the grid. XuiSendMessage ( grid, #SetWindowTitle, 0, 0, 0, 0, kid, @title$ ) grid,kid - target grid |
ShowWindow | ( grid, #ShowWindow, 0, 0, 0, 0, kid, 0 ) grid,kid - target grid |
TimeOut | ( grid, #TimeOut, msTime, 0, 0, 0, kid, 0 ) A TimeOut is sent to a grid by GraphicsDesigner when its grid timer has timed out. XuiSendMessage ( grid, #TimeOut, msTime, 0, 0, 0, kid, 0 ) grid,kid - target grid |
WindowCreate | ( @grid, #WindowCreate, xDisp, yDisp, width, height, winType, display$ ) grid
- grid number of created window grid |
WindowDeselected | ( window, #WindowDeselected, 0, 0, 0, 0, 0, window ) WindowDeselected is sent to a window by GraphicsDesigner after the window is deselected because another window was selected. WindowDeselected is sent before WindowSelected . XuiSendMessage ( window, #WindowDeselected, 0, 0, 0, 0, 0, window ) window - window number |
WindowDestroy | ( window, #WindowDestroy, 0, 0, 0, 0, 0, 0 ) Send WindowDestroy to a window to destroy the window and all grids in the window. The window sends Destroyed messages to all parentless grids in the window before it destroys itself and removes itself from the display. The first argument must be a window number, not a grid number. DestroyWindow is a grid message that accomplishes the same thing, but takes a grid number (of any grid in the window). XuiSendMessage ( window, #WindowDestroy, 0, 0, 0, 0, 0, 0 ) window - window number |
WindowDestroyed | ( window, #WindowDestroyed, 0, 0, 0, 0, 0, window ) WindowDestroyed is sent to a window by GraphicsDesigner when the window has been destroyed by the user or program. XuiSendMessage ( window, #WindowDestroyed, 0, 0, 0, 0, 0, window ) window - window number |
WindowDisplay | ( window, #WindowDisplay, 0, 0, 0, 0, 0, 0 ) Send WindowDisplay to a window to display and select the window. The first argument must be a grid number, not a window number. DisplayWindow is a grid message that accomplishes the same thing but takes a grid number (of any grid in the window). XuiSendMessage ( window, #WindowDisplay, 0, 0, 0, 0, 0, 0 ) window - window number |
WindowDisplayed | ( window, #WindowDisplayed, 0, 0, 0, 0, 0, window ) WindowDisplayed is sent to a window by GraphicsDesigner when the window state changes from hidden or iconified to displayed, whether by the user or program. XuiSendMessage ( window, #WindowDisplayed, 0, 0, 0, 0, 0, window ) window - window number |
WindowGetDisplay | ( window, #WindowGetDisplay, 0, 0, 0, 0, 0, @display$ ) window - window
number |
WindowGetKeyboardFocusGrid | ( window, #WindowGetKeyboardFocusGrid, @focusGrid, 0, 0, 0, 0, 0 ) window -
window number |
WindowGetKidArray | ( window, #WindowGetKidArray, 0, 0, 0, 0, 0, @kid[] ) window - window
number |
WindowGetSelectedWindow | ( window, #WindowGetSelectedWindow, @selectedWindow, 0, 0, 0, 0, 0 ) window -
window number |
WindowGetSize | ( window, #WindowGetSize, @xDisp, @yDisp, @width, @height, 0, 0 ) window -
window number |
WindowGetTitle | ( window, #WindowGetTitle, 0, 0, 0, 0, 0, @title$ ) Send WindowGetTitle to a window to get its title string. The first argument must be a window number, not a grid number. GetWindowTitle is a grid message that accomplishes the same thing but takes a grid number (of any grid in the window). XuiSendMessage ( window, #WindowGetTitle, 0, 0, 0, 0, 0, @title$ ) window - window number |
WindowHide | ( window, #WindowHide, 0, 0, 0, 0, 0, 0 ) Send WindowHide to a window to remove it from the display. The first argument must be a window number, not a grid number. HideWindow is a grid message that accomplishes the same thing but takes a grid number (of any grid in the window). XuiSendMessage ( window, #WindowHide, 0, 0, 0, 0, 0, 0 ) window - window number |
WindowHidden | ( window, #WindowHidden, 0, 0, 0, 0, 0, window ) WindowHidden is sent to a window by GraphicsDesigner when the window is hidden by the user or program. XuiSendMessage ( window, #WindowHidden, 0, 0, 0, 0, 0, window ) window - window number |
WindowKeyDown | ( window, #WindowKeyDown, xWin, yWin, state, time, 0, 0 ) window - window
number |
WindowKeyUp | ( window, #WindowKeyUp, xWin, yWin, state, time, 0, 0 ) window - window
number |
WindowMaximize | ( window, #WindowMaximize, 0, 0, 0, 0, 0, 0 ) Send WindowMaximize to a window to make it as large as possible, up to the size of the display. The first argument must be a window number, not a grid number. MaximizeWindow is a grid message that accomplishes the same thing but takes a grid number (of any grid in the window). XuiSendMessage ( window, #WindowMaximize, 0, 0, 0, 0, 0, 0 ) window - window number |
WindowMaximized | ( window, #WindowMaximized, 0, 0, 0, 0, 0, window ) WindowMaximized is sent to a window when the window is maximized by the user. XuiSendMessage ( window, #WindowMaximized, 0, 0, 0, 0, 0, window ) window - window number |
WindowMinimize | ( window, #WindowMinimize, 0, 0, 0, 0, 0, 0 ) Send WindowMinimize to a window to remove it from the display and replace it with a small icon, usually along the bottom edge of the display. The first argument must be a window number, not a grid number. MinimizeWindow is a grid message that accomplishes the same thing but takes a grid number (of any grid in the window). XuiSendMessage ( window, #WindowMinimize, 0, 0, 0, 0, 0, 0 ) window - window number |
WindowMinimized | ( window, #WindowMinimized, 0, 0, 0, 0, 0, window ) WindowMinimized is sent to a window when the window is minimized by the user or program. XuiSendMessage ( window, #WindowMinimized, 0, 0, 0, 0, 0, window ) window - window number |
WindowMonitorContext | ( window, #WindowMonitorContext, @callGrid, @callFunc, 0, 0, 0, 0 ) window -
window number |
WindowMonitorKeyboard | ( window, #WindowMonitorKeyboard, @callGrid, @callFunc, 0, 0, 0, 0 ) window -
window number |
WindowMonitorMouse | ( window, #WindowMonitorMouse, @callGrid, @callFunc, 0, 0, 0, 0 ) window -
window number |
WindowRedraw | ( window, #WindowRedraw, xWin, yWin, width, height, 0, window ) WindowRedraw is sent to a window by GraphicsDesigner when all or part of the window needs to be redrawn because its was uncovered by another window, or because its was displayed from a hidden or iconified state. If width <= 0 or height <= 0 , the whole window needs to be redrawn, otherwise the part of the window in the rectangle described by xWin,yWin,width,height needs to be redrawn. In response to WindowRedraw messages, window functions send a Redraw message to every parentless grid in the window, along with the x,y,width,height arguments. XuiSendMessage ( window, #WindowRedraw, xWin, yWin, width, height, 0, window ) window - window number |
WindowRegister | ( window, #WindowRegister, winGrid, -1, width, height, @win, title$ ) window
- window number |
WindowResize | ( window, #WindowResize, xDisp, yDisp, width, height, 0, 0 ) Send WindowResize to a window to reposition it on the display and/or resize it. -1 can be sent in xDisp and/or yDisp to accept a default window position on that axis. A value <=0 can be supplied in width and/or height to tell the window to resize to its window grid. The first argument must be a window number, not a grid number. Resize is a grid message that accomplishes the same thing if sent to a grid created by CreateWindow , but takes a grid number of any grid in the window. XuiSendMessage ( window, #WindowResize, 0, 0, 0, 0, 0, window ) window - window number |
WindowResized | ( window, #WindowResized, xDisp, yDisp, width, height, 0, window ) WindowResized is sent to a window by GraphicsDesigner after its has been resized. XuiSendMessage ( window, #WindowResized, xDisp, yDisp, width, height, 0, window ) window - window number |
WindowSelect | ( window, #WindowSelect, 0, 0, 0, 0, 0, 0 ) Send WindowSelect to a window to display and select the window. The first argument must be a window number, not a grid number. SelectWindow is a grid message that accomplishes the same thing but takes a grid number (of any grid in the window). XuiSendMessage ( window, #WindowSelect, 0, 0, 0, 0, 0, 0 ) window - window number |
WindowSelected | ( window, #WindowSelected, 0, 0, 0, 0, 0, window ) XuiSendMessage ( window, #WindowSelected, 0, 0, 0, 0, 0, window ) window - window number WindowSelected is sent to a window by GraphicsDesigner when the window state changes from not selected to selected, whether the change is caused by the user or the program. The selected window is the window with keyboard focus, which means that keyboard messages are sent to that window. |
WindowSetDisplay | ( window, #WindowSetDisplay, 0, 0, 0, 0, 0, @display$ ) window - window
number |
WindowSetKeyboardFocusGrid | ( window, #WindowSetKeyboardFocusGrid, focusGrid, 0, 0, 0, 0, 0 ) window -
window number |
WindowSetTitle | ( window, #WindowSetTitle, 0, 0, 0, 0, 0, @title$ ) Send WindowSetTitle to a window to set its title string. The first argument must be a window number, not a grid number. SetWindowTitle is a grid message that accomplishes the same thing but takes a grid number (of any grid in the window). XuiSendMessage ( window, #WindowSetTitle, 0, 0, 0, 0, 0, @title$ ) window - window number |
WindowShow | ( window, #WindowShow, 0, 0, 0, 0, 0, 0 ) Send WindowShow to a window to display the window without selecting it. If the window cannot be displayed without selecting it, it is displayed and selected. XuiSendMessage ( window, #WindowShow, 0, 0, 0, 0, 0, 0 ) window - window number |